package com.zanbo.clock.domain.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Id;
import javax.persistence.Table;
import java.time.LocalDateTime;

/**
 * @author: zanbo
 * @description: 打卡实体类
 * @date: 上午 11:01 2021-4-26
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "clock")
public class Clock {
    
    /**
     * 打卡记录id
     */
    @Id
    private Long cid;
    
    /**
     * 打卡员工编号
     */
    private Long uid;
    
    /**
     * 员工打卡时间
     */
    private LocalDateTime cdate;
    

}
